Skip to main content

DescribeAutoDelConfig

Description

call the DescribeAutoDelConfig interface to query the configuration information for automatic deletion of vulnerabilities.

Request Method

POST

Request Path

/apsara/route/aegis/DescribeAutoDelConfig

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstring43186B14-5A39-44E0-860E-8B24D1EF82CCrequest ID.
Daysinteger7the number of days the system saves the vulnerability before it is automatically deleted.

Example

Successful Response example

{
"RequestId":"43186B14-5A39-44E0-860E-8B24D1EF82CC",
"Days":"7"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}

title: DescribeCheckWarningDetail

DescribeCheckWarningDetail

Description

call the DescribeCheckWarningDetail interface to query the details of the specified check item.

Request Method

POST

Request Path

/apsara/route/Sas/DescribeCheckWarningDetail

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
SourceIpBODYstringNo1.2.3.4access source IP address.
CheckWarningIdBODYlongYes1check item alarm ID. description to query the details of the specified check item, you need to provide the check item alarm ID, which can be obtained by the DescribeCheckWarnings interface.
regionIdBODYstringYesNo sample value for this parameter.region id
LangBODYstringNozhthe language type of the request and receive message. zh: Chinese en: English
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
Itemstringpassword expiration warningcheck item name.
TypestringIdentitythe type of baseline check item.
Descriptionstringpassword is about to expiresupplementary description of the baseline check risk item.
CheckIdlong1check item ID.
RequestIdstring09969D2C-4FAD-429E-BFBF-9A60DEF8BF6Frequest ID of the result.
Levelstringhighthe risk level of the check item. high: high, highlighted in red, indicating a high risk level. medium: medium, highlighted in orange, indicating that the risk level is medium. low: low, highlighted in gray, indicating a low risk level.
PromptstringPassword expiration warningcheck tips for baseline check risk items.
AdvicestringFix nowreinforcement suggestions for baseline inspection risk items.

Example

Successful Response example

{
"Item":"password expiration warning",
"Type":"Identity",
"Description":"password is about to expire",
"CheckId":"1",
"RequestId":"09969D2C-4FAD-429E-BFBF-9A60DEF8BF6F",
"Level":"high",
"Prompt":"Password expiration warning",
"Advice":"Fix now"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}